package com.jvyou.app.ds.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.jvyou.app.common.domain.model.PageResult;
import com.jvyou.app.ds.domain.dto.LessonDto;
import com.jvyou.app.ds.domain.entity.Lesson;

import java.util.List;

/**
 * 驾校课时主表(Lesson)表服务接口
 *
 * @author 橘柚
 * @since 2025-04-11 13:19:59
 */
public interface LessonService extends IService<Lesson> {

    PageResult<Lesson> getByCoach(LessonDto lessonDto);

    Lesson addLesson(Lesson lesson);

    PageResult<Lesson> getByStudent(LessonDto lessonDto);

    List<Lesson> listLesson(LessonDto lessonDto);

    PageResult<Lesson> pageLesson(LessonDto lessonDto);
}

